package com.study.springbootstudytwo.entities.mybatiscollection;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;


@Data
@ToString
@TableName("classes")
public class ClassPo implements Serializable {

    private String classId;

    private String className;

    @TableField(exist = false)
    private List<StudentPo> studentList;

//    @TableField(exist = false)
//    private String test;
//
//    @TableField(exist = false)
//    private String nums;
}



